package com.yesep.learn.design.behavioral.command;

public class Light implements IDevice {
    @Override
    public void turnOn() {
        System.out.println("Light is on.");
    }

    @Override
    public void turnOff() {
        System.out.println("Light is off.");
    }
}
